<style>
    .layui-iconpicker-body.layui-iconpicker-body-page .hide {
        display: none;
    }
    .tr[data-field] .layui-table-cell{
        overflow: auto;
    }
</style>
<link rel="stylesheet" href="/static/plugs/lay-module/autocomplete/autocomplete.css?v={$version}" media="all">
<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">

        <div class="layui-form-item">
            <!-- <label class="layui-form-label required">保单PDF</label> -->
            <!-- <div class="layui-input-block layuimini-uploadpdf"> -->
                <input name="files" class="layui-input layui-col-xs6" lay-verify="required" lay-reqtext="请上传文件" placeholder="请上传文件" value="">
                <div class="layuimini-uploadpdf-btn">
                    <div class="layui-upload-drag" style="display: block;" id="upload-drag" data-uploadpdf="files" data-uploadpdf-number="multiple" data-uploadpdf-exts="pdf">
                        <i class="layui-icon layui-icon-upload"></i> 
                        <div>点击上传，或将保单PDF文件拖拽到此处</div>
                    </div>
                    <span><a class="layui-btn layui-btn-fluid" data-analysispdf="files" lay-active="ocr_pdf">识别文件</a></span>
                </div>
            <!-- </div> -->
        </div>
        <input type="hidden" id="id" name="id" value="{$id}">
        <div class="layui-hide" id="pdf_info">
            <div class="layui-form-item">
                <table id="currentTable" class="layui-table layui-hide" lay-filter="currentTable"></table>
                <div>
    
                </div>
                <div class="layui-form-mid layui-text-em" style="color: red !important">提示：提交请核对数据是否正确。点表格可修改数据</div>

            </div>
            <div class="layui-form-item">
                <a href="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal" lay-active="save">保存</a>
            </div>
        </div>
    </div>
</div>
<script>
    let carTypeSelects=JSON.parse('{$car_type|json_encode=256|raw}')
    var ocr_type=JSON.parse('{$ocr_type|json_encode=256|raw}')
</script>